Working xspec plugin