create temp shell script in same directory not /tmp