Modified for LeoFS v1.2.2