initial shell script draft