Hooks service

there's missing empty space at the end of the formatting string and the contents of the environment parameter are stuck to it.