Fixed the generation of the quark script

Found that I hadn't fully updated the generate-startup-script expert system.