Pass script to getter