Boostrap_EC2 Correction

Syntax correction and wait statement update.