Fixing origin ami launch and post launch setup