preparation of scripts for CSJ