Script to Publish application using GUI mode