fixed shell script, and removed puppet