Added checkout method
Fixed executability