Updated build pack to work with declare -A statement