move takeScreenShot() from Utils to CSManager