This one worked for me, but I didn't have any custom-generated script. I just deleted the last one AEM generated and it started working, for all my colleagues that solved the problem too. So it looks like service pack 12 is somehow messing with that script generation.