Expand -script, -script.prefind and -script.presort