Patches to populate script