Updated drawXS.C