set BIN_NAME correctly