Add support of external-scripts.json

Signed-off-by: François de Metz <francois@stormz.me>