using "scripts" property instead of script.get hook