Yep. Never save a quest to a save file for development testing while you are modifying scripts for that quest file. Ever. (Unless you know what you are doing.) Use the Init Data settings and cheat options instead.

Here's a script that will automatically enable cheats every time you load that quest:
Code:
global script GlobalMain
{
	void run()
	{
		Game->Cheat = 4;
	}
}