Fixed cs script