Initial version of client script