Primitive scripts and applications to assist in developing Mate