modified wrapper generator to use bindeps files