scripts now directory-independant