Firms adapt to remote working