Fixed so can be run from anywhere