delayed deactivation and publication
Merge pull request #75 from ray176/publicationOptions

delayed deactivation and publication