simplified terminal shell script