run application from inside - fixes production mode