updated hard link creation script