Added Actual Generation Code

Signed-off-by: Advtech