added argument parsing with click