change swp dir