modified master data creation script