updated function usage messages and parameters switches