more script cleansing