added bash flag passing to gksudo