add AWS preinstall script