generate_execute works/added

Signed-off-by: John Liu <johnnnpl@gmail.com>