only run if arguments are supplied