mdoify some headers and replace WB_URL and WB_PATH