reocord current script and launch file