Fix script so that it runs no matter the directory of the callee