Pass in segment name instead of id
Use the retrieved static_segment_id over the old passed in segment_id