fixed sakefile; added IO