fixed postlink script