re-ordering scripts that run with -rdp