made everything work in cli except load and find