Clean up sourcing of initialisation script. Only allow init to be sourced once.
Point production to new api url.