Local import version ported to work with work.py.