Creating a command to enable execution of a group of commands at once (will be used by multiselection commands)