Creating a user command that relates writeit instances and popit instances