Issue #497: use BTree folder for /scripts/