Fixed bug. ready to test for cronjob.
Merge pull request #96 from kmabey/LocalDev

Fixed bug. ready to test for cronjob.