finished up the scripts