Modified scripts to follow omnimenu's reafctoring.