tweaks the post type args and adds a flush rewrite