fixed start script else if syntax