allows for non-scalar output types
adds --import arg