Fixed issue when service.json doesnt already exist