cleaned up post type generator
edit to post type generator