make it work with any server, prod/dev/stage