Correct modes, removing old scripts.