See attached for the code. Not sure whether this is feasible, just suggestion. GUI is more convenient then comand line for normal users.