fixing the script parameters order