add a ruby script to execute and plot with different parameters
Merging N and thundzz's changes