improved the rake file