A better cleint script for YIi