Using:

 68     static {
 69         try {
 70             run();
 71         } catch (Exception e) {}
 72     }
 73
 74     public static void main(String[] args) throws Exception {
 75     }

Seems to work for old payloads using main and for the ones Im writing using cl.loadClass("metasploit.Payload").newInstace() (note that I still need to use the newInstace() call)