Improve handling of download dir in build
add salt config to app bundle