Add non null to name and script_id for stage. Refactor postion vs chapter. Order by stage when present.