changed flask so it can be hit by other devices on the network