Working plugin with corrected shortcode output