Added an execute func for system calls