use exec instead of execfile for py3 compatibility
revert 7af14ef and do not use __builtins__ which needs py3 change