added the ability for the script to create swap if not found