Temporarily removed polygon_group from the list of arguments. Will be implemented again once shape files work as input