more fixes to rake tasks, now run ok