changed the run app mode to run by Foreman