Update exec syntax
Fix issues with syntax