Proper checking for custom.rb