Changed a few things form Josh D's suggestions.

Now using --machine-type instead of --type and changed some oarts
of the code per Josh D's appreciated suggestions =)