Changed printing to be more python3 friendly