First version
Require util instead of sys per deprecation warning