adding slash to directory search for prodflag