I don't think you have to change something about it (atleast not much). Did you already tried it using the GStudio8 script editor? You might also see the manual of GStudio8 for the lite-c programming language.