put run file into class