Use relative imports.
Wrap exec in a function to ensure python3 compat.