adds chext script