added error catching
SIMUXCR will now use my self hosted API if it is available