fixes script to follow instructions