Fixes and tests for common options via env. variables.