Fixed native commands not being called when called in a exec callback