fixing rake file and configuration