Fixed global_vars in exec() call.
Converted to relative imports.