removes preflight scripts