Updated genie script.