Fixes in insert_resource_py.