Fixed a slight path bug that would crash the bot when invoked using a cronjob.