python start up file for mirror api