adding eip functions
key is always host
moving to amazonica api
adding eip
moving to new eip function and fixing terminate and stop