Added gpx export function