added compile to single file option