remove 'scripts' argument and use ctx.properties['scripts']