Terminate instance after creating ami, get absolute path for ami config
changed some method names