Reworked: now able to create several operations as specified in command line