tested and working version of CESC_STAR.sh with some changes to the loop and quoted variables