Initial work on running plugins