made install work when not in directory