Add execution functionality for prepared statement