Updated workflow; added DIR parameter to crossval.sh to allow non-default discovery dir