run from dev or production