Autocompile of protofile