Made shell script nicer