Updated with dynamic code

Signed-off-by: Pratheek Rebala <pratheekrebala@live.com>