Fixed run now depends on build
Major refactoring of tracef