updated sample to reflect current usages
updated service installation
fixed to execute correctly