fixed cmd config bug, removed pylab import