Three keys for effective scripts