shortcode return instead of echo

To place the shortcode within a text on a page or in a post i've
changed the shortcode output function to return instead of echo the
output