added commandline argument checking to publish script
fixed publish script argument checking
added color for linux shells