* dramatically speeding up lrotate
 * fixing up some imports