add link to the executor to environment and handler