Auto import python modules?

If you were to write a startup script that inadvertently crashed your unreal session, would there be way to disable the script before launching?