fix path when running scripts