Script is now Python 3.3+ compatible