Corrected resource conditional

- Was always false
- Made submodule stuff refreshonly
- Hopefully it works