Really fixed shell script now