Fixed automatic data script