add ability to run post-link and pre-unlink script