added output option and changed a vector field name