move cleaning functions to finished.sh
put waiting fn in _build
build ami behaves similarly to build vagrant by running new instance with newly built ami and ssh into it