export the loadbots function