added remove_unused_media publish options