Added scriptManager