add regulus.g file, change debug print