Load and error checking