Fixed exporting of HOME