Updated shellscript to work from every directory