Allow cluster size and type to be specified in task