modifications for supporting xml favorites datasource, keeping sqlite version
repacked workflow