Updated scripts to clear output dirs before starting