fixed BINDIR overriden by other scripts