Put the machine action in the middleware env