Added more code for feature script before backup