added support for snapshot publishing