diff -aburN a/drutalk.info b/drutalk.info
--- a/drutalk.info	2011-01-05 20:30:25.000000000 -0500
+++ b/drutalk.info	2011-03-17 15:05:24.698370666 -0400
@@ -1,6 +1,9 @@
+; $Id$
 name = druTalk IM
 description = Video supported P2P instant messenger
-core = 6.x
+core = 7.x
 dependencies[] = services
 dependencies[] = user_relationships_ui
-dependencies[] = amfphp
\ No newline at end of file
+dependencies[] = amfphp_server
+version = "7.x-1.x-dev"
+project = "drutalk"
\ No newline at end of file
diff -aburN a/drutalk.module b/drutalk.module
--- a/drutalk.module	2011-01-05 20:30:25.000000000 -0500
+++ b/drutalk.module	2011-03-17 10:51:39.000000000 -0400
@@ -35,8 +35,14 @@
 * Only premitted roles can use the messenger
 */
 
-function drutalk_perm(){
-	return array('access drutalk');
+function drutalk_permission(){
+	$permissions = array(
+'access drutalk' => array(
+      'title' => t('Access drupalk'),
+      'description' => t('Access drupalk'),
+    ),
+  );
+  return $permissions;
 }
 
 
@@ -117,23 +123,23 @@
   
   $methods = array ();
   $methods [] = array (
-    '#method' => 'drutalk.getFriends', 
-    '#callback' => 'drutalk_get_friends', 
-    '#args' => array (), 
+    'method' => 'drutalk.getFriends', 
+    'callback' => 'drutalk_get_friends', 
+    'args' => array (), 
     'access callback' => 'user_access',
 	'access arguments' => array('access drutalk'),
-    '#return' => 'array', 
-    '#help' => 'Returns a list of friends of the current user.' ,
+    'return' => 'array', 
+    'help' => 'Returns a list of friends of the current user.' ,
  );
   
    $methods [] = array (
-    '#method' => 'drutalk.getMe', 
-    '#callback' => 'drutalk_get_me', 
-    '#args' => array (),
+    'method' => 'drutalk.getMe', 
+    'callback' => 'drutalk_get_me', 
+    'args' => array (),
     'access callback' => 'user_access',
 	'access arguments' => array('access drutalk'),
-    '#return' => 'struct', 
-    '#help' => 'Returns a me uesr object.' ,
+    'return' => 'struct', 
+    'help' => 'Returns a me uesr object.' ,
  );
  
   return $methods;
