re-ordering scripts