adding unlink_hook