developed link, not yet tested
working on link functions, works for my ls but not so with Linux