new compiler flags, fixed printing functions