add server-side agent scripts