Separate drawing and data processing scripts.