refactored feature making scripts