added option to output compiled code.