added config file return, testing remote api code