Initialize script.