adding automation for creating of swapfile