Advanced Scripting Synthesis