Add external-scripts support