python script for importing revisioned code