changed set directory and backupdir paths