added if
plotting
Added auxiliary scripts