diff --git a/twitter_pull/twitter_pull.class.inc b/twitter_pull/twitter_pull.class.inc
index 28797ee..3f453937 100644
--- a/twitter_pull/twitter_pull.class.inc
+++ b/twitter_pull/twitter_pull.class.inc
@@ -10,6 +10,8 @@ class twitter_puller {
   var $twitkey;
   var $num_items;
   var $tweets;
+  var $rts = TRUE;
+  var $exclude_replies = FALSE;

   /**
   * @param $twitkey
@@ -44,7 +46,8 @@ class twitter_puller {
     $prefix = drupal_substr($this->twitkey, 0, 1);
     $slash = strpos($this->twitkey, '/', 1);
     $num = intval($this->num_items);
-
+    $rts = ($this->rts)?'1':'false';
+    $exclude_replies = ($this->exclude_replies)?'true':'false';
     // lists have the format @username/listname
     if ($prefix == '@' && $slash !== FALSE) {
       $username = drupal_substr($this->twitkey, 1, $slash - 1);
@@ -54,12 +57,12 @@ class twitter_puller {
     // if the first character is @, then consider the key a username
     elseif ($prefix == "@") {
       $key = drupal_substr($this->twitkey, 1);
-      $url = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name='. urlencode($key) .'&include_rts=true&count='. $num;
+      $url = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name='. urlencode($key) .'&include_rts=' . $rts . '&count='. $num . '&exclude_replies=' . $exclude_replies;
     }
     // if the first character is ~, then consider the key a favorites feed
     elseif ($prefix == "~") {
       $key = drupal_substr($this->twitkey, 1);
-      $url = 'http://api.twitter.com/1/favorites/'.urlencode($key).'.json?count='.$num;
+      $url = 'http://api.twitter.com/1/favorites/'.urlencode($key).'.json?count='.$num;
     }
     // otherwise, use the key as a search term
     else {
diff --git a/twitter_pull/twitter_pull.module b/twitter_pull/twitter_pull.module
index 607d6eb..dcae31a 100644
--- a/twitter_pull/twitter_pull.module
+++ b/twitter_pull/twitter_pull.module
@@ -90,8 +90,10 @@ function twitter_pull_preprocess(&$variables, $hook) {
  *     Theme key name to use for theming the output of Twitter API.
  * @param $lazy_load
  *     Use javascript to retrieve the twitter results once the page is loaded.
+ * @param $retweets
+ *     Include retweets (default = TRUE)
  */
-function twitter_pull_render($twitkey, $title = NULL, $num_items = NULL, $themekey = NULL, $lazy_load = FALSE) {
+function twitter_pull_render($twitkey, $title = NULL, $num_items = NULL, $themekey = NULL, $lazy_load = FALSE, $rts = TRUE, $exclude_replies = FALSE) {
   drupal_add_css(drupal_get_path('module', 'twitter_pull') . '/twitter-pull-listing.css');

   //-- Set the lazy load id. Encode the twitkey and title to make sure the they don't contain dashes.
@@ -103,7 +105,7 @@ function twitter_pull_render($twitkey, $title = NULL, $num_items = NULL, $themek
   $num_items = empty($num_items) ? twitter_pull_num_items() : $num_items;

   if (!$lazy_load) {
-    $tweets = twitter_pull_retrieve($twitkey, $num_items);
+    $tweets = twitter_pull_retrieve($twitkey, $num_items, $rts, $exclude_replies );
   }
   else {
     $tweets = NULL;
@@ -135,8 +137,12 @@ function twitter_pull_render($twitkey, $title = NULL, $num_items = NULL, $themek
  *     (prepended with #), or a search term.
  * @param $num_items
  *     Number of tweets to retrieve from Twitter. Can't be more than 200.
+ * @param $rts
+ *     If you wnat the retweets to be included in the results Defaults to TRUE.
+ * @param $exclude_replies
+ *     excludes replies.
  */
-function twitter_pull_retrieve($twitkey, $num_items = NULL) {
+function twitter_pull_retrieve($twitkey, $num_items = NULL, $rts = TRUE, $exclude_replies = FALSE) {
   // If $num_items is not set, use the default value.
   // This value is checked more rigorously in twitter_puller->check_arguments().
   $num_items = (intval($num_items) > 0) ? intval($num_items) : twitter_pull_num_items();
@@ -153,6 +159,8 @@ function twitter_pull_retrieve($twitkey, $num_items = NULL) {
   else {
     try {
       $puller = new twitter_puller($twitkey, $num_items);
+      $puller->rts = $rts;
+      $puller->exclude_replies = $exclude_replies;
       $puller->get_items();
       $tweets = $puller->tweets;
     }
