add smart scripts