runInstances working for more than one instance