correct script dir