added backup and swap dirs