improve series script