added server side scripts and docs