Beginning of parsing gps option.