working a little better now

took out P.run() and created a main() function instead and for some reason that cut the total script running time in half? From 200+ seconds to 100+ seconds.