added run file
refactoring