Moved config into function, called in quandrax.rb