Updated version of the patch, now doesn't hardcode sessreg’s filename. Also added another patch for renaming scripts from GiveConsole and TakeConsole. Matěj