Added ability to compile inference files from command line