rewriting unpublish command to work with boto