diff --git a/assets/src/org/ruboto/ScriptInfo.java b/assets/src/org/ruboto/ScriptInfo.java
index <HASH>..<HASH> 100644
--- a/assets/src/org/ruboto/ScriptInfo.java
+++ b/assets/src/org/ruboto/ScriptInfo.java
@@ -5,6 +5,19 @@ public class ScriptInfo {
     private String scriptName;
     private Object rubyInstance;
 
+    public void setFromIntent(android.context.Intent intent) {
+      android.os.Bundle configBundle = intent.getBundleExtra("Ruboto Config");
+
+      if (configBundle != null) {
+        if (configBundle.containsKey("ClassName")) {
+          setRubyClassName(configBundle.getString("ClassName"));
+        }
+        if (configBundle.containsKey("Script")) {
+          setScriptName(configBundle.getString("Script"));
+        }
+      }
+    }
+
     public String getRubyClassName() {
         if (rubyClassName == null && scriptName != null) {
             return Script.toCamelCase(scriptName);
Added a method to configure from an intent