symlinks script corrected - first working version