Fixed tiny bug with _meta handling in external inventory scripts