generated scripts take into account parameters passed as arguments