Moved out common functionality to a static method
use . syntax instead of [] syntax when calling show / hide
Adding scrutinizer config