Fixed start-scripts, so the runningmode can be set