make the output become an argument instead of using a hardcoded one