added nomodule option to not wrap source