Better rakefile and added security transgression exception