make it possible to add extra paths with scripts

Change-Id: I270dc67545d27cd3177414112f14684df63a70ad
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>