initialise foxx on startup