removed python 3 need for 'imp' module