Allow bundle path to be overridden when building database functions