changed long handling, fixed cron jobs so that they use the main application, tweaked some things in the bot