change swap directory and backup directory