Added debugging output
Added testing for installer availibility
Clear the DNS cache in case the last look up failed
Changed default instance type to small