Better handling of bot/server startup