update wrapper and plot_utils to handle compile vs. nocompile