Works with both dev and deploy environments