fixed -h option in symlink script