Working version of loadConditions! Lots of changes, most well documented