more work on loading and commands