Configuring app to support the deploy on Amazon