Fix development IP detection build script
Error handling for location