more flexible command line arguments, inclding specification of the sps object type