cleaning up script, removing unnecessary code
 debugging in process.  Links generated are fine, but pulling in 43 consistent none types and trying to track that down so lots of debug prints and what not