replace exec statement with exec function