Productivity, flexibility and the future of work