methods to extract bool and double from the Scope strings