little details regarding working dir swichting in create_links
link to link loop removed