Bug in library rebuilding code that duped library fixed. Imported old pysonic just to have it stored somewhere.