Removes use of the exec statement