Add dev flag to set API url