changed gem name to 'desk'; modified code for compatibility with ruby 1.8.7