fix issue with calling script without absolute path