fixes to atk scripts and client