combining run_sim_on_cluster.r and run_analysis_on_cluster.r