got rid of some echos in the script