make it work locally as well