Fixed start and stop scripts to not raise exceptions