Fix bug in Data Creation Scripts