modified commandline index