Modifications for v1.0.1 (json file handling for env vars)