changed symlink system to be more flexible