Add data checkout, improve loading script