install: better handling of client installation scripts