remove bogus print statement
speed up slow script and some cleanups