Working ProcGen script - advanced features later