clustering: add support for new command line arguments