You should set a GLOBAL variable in Listener.rb for the default value so if default changes it'll not affect this code.