added mb string function to the boxfile