added publish mode to app