added BIN_DIR