Check that script is provided with arguments