Use exec instead of deprecated im.load_source