upgraded text example to support whole ssp_main.pig script