script to manage symlinks between libraries