trying to integrade custom upload plugin