Debug and release configuration

We now have one config for debug and one for release.
Index.js requires the correct one based on the deployment target