added print statements to shell script