Added config for release mode (bit hacky)