avoiding disaster and adding in swapfile creation