add print_usage and fix arguments