More comments and formatting

Increased readability of injected code in the compilation step