Client

add run script and delete deprecated functions