Convert to script-driven format