added find("0x") in InitialiseSettings()