Added initial support for second publishing step