Support custom dir for bundle