add swap/backup/undo settings
Fix DYLD_ environment variables issue