Get attributes from environment instead of custom json