added register post type script