adding max inbound outbound flow html and js