Script to managment swapspaces