Start with good people lay out the rules communicate with your employees motivate them and reward them. If you do all those things effectively you can't miss.
One of the great challenges of our age in which the tools of our productivity are also the tools of our leisure is to figure out how to make more useful those moments of procrastination when we're idling in front of our computer screens.