Fix external script loading for basic-example