fixed doc strings, and options names
fixed the output path option
fixed naming issue
added the result output
check for n_select size
changed a 2 space indent to 4