start integrating groovy: parse script