Changing Smartcloud samples to use a smartcloud endpoint so they work in

the default and smartcloud environment.