details on output file and PyQt4 added