run from jar both files