set up local vs production environments and automatic checking and switching