Updated script with other OGR functions