updated script to be more newbie friendly