completing create-links script