will run non interactively if the correct number of arguments are supplied