Added creation of output directory in cron script

 * Added creation of output directory in cron script
 * Cleaned up cron script

Change-Id: Iaaedebfc7cf119f62fcf9f689c7bab62800c0228