Updated print commands to be python3 compliant