Spiced it up

fixed so it can be run outside the working directory.