Removing redundant scripts from debug loader