changed freezer script to make GUI program