Implemented runInstances sdk call