added symlinking code