v2 of mosh script