Conform scriptfilter.rb to Ruby module standards