Fixes for deployment and starting service on aws