Update god config and accurately detect if running on pi