Remove obsolete script.
Make the code Python 3 compatible.