Here is a little script I threw together to do the functions of airolib-ng thought I would share.

Code:
#!/bin/bash

airolib="/usr/local/bin/airolib-ng"     # location of airolib-ng
database="/root/wpa"                    # location of your database
essidlst="/root/essid.lst"              # location of your essid file
passlst="/root/pass.lst"                # location of your passwords file

W="\033[0m";                            # white (normal)
BLA="\033[30m";                         # black
R="\033[31m";                           # red
G="\033[32m";                           # green
O="\033[33m";                           # orange
B="\033[34m";                           # blue
P="\033[35m";                           # purple
C="\033[36m";                           # cyan
GR="\033[37m";                          # gray


menu () {
    clear
    echo -e "$R WPA Database Script";
    echo -e "";
    echo -e "$GR Uses Airolib-ng $W";
    echo -e "";
    echo -e "$O Please Choose from the following:";
    echo -e "$GR ---------------------------------";
    echo -e "$C E to import essids";
    echo -e "$C P to import passwords";
    echo -e "$C S to run --stats";
    echo -e "$C C to run --clean all";
    echo -e "$C B to run --batch";
    echo -e "$C V to run --verify all";
    echo -e "$C X to exit";
    echo -e "$GR --------------------------------- $W";
    echo -e "";
    echo -e "Please enter your choice:";
    read keystroke

    case "$keystroke" in
        "E" | "e" )
        echo -e "$G Importing ESSIDs $O";
        $airolib $database --import essid $essidlst
        sleep 5
        menu
        ;;
        "P" | "p" )
        echo -e "$G Importing PASSWORDS $O";
        $airolib $database --import passwd $passlst
        sleep 5
        menu
        ;;
        "S" | "s" )
        echo -e "$G --STATS $O";
        $airolib $database --stats
        sleep 5
        menu
        ;;
        "C" | "c" )
        echo -e "$G --CLEAN ALL $O";
        $airolib $database --clean all
        sleep 5
        menu
        ;;
        "B" | "b" )
        echo -e "$G --BATCH $O";
        $airolib $database --batch
        sleep 5
        menu
        ;;
        "V" | "v" )
        echo -e "$G --VERIFY ALL $O";
        $airolib $database --verify all
        sleep 5
        menu
        ;;
        "X" | "x" )
        echo -e "$R Exiting";
        sleep 5
        clear
        ;;
        "" )
        menu
        ;;
    esac
}


menu