Hijacked sol's shell script, Candidate for a Python re-write and overhaul