Added g option