added server and ui scripts