Initialize script and data