reverting changes from old script