made post-hook dependent on machine name