Finished custom post types script