make bridge configuration more dynamic