Replaced HOME environment variable with USER_HOME.