Rename settings to environment for consistency with /bin/sh