add local bundle support