Added disknotify script and refactored allocations.rb