Subreddit settings were getting reset due to use of set_settings() instead of the proper update_settings()
Added simple shell script to continuously run the bot in a loop