remove head in script/test
move interface over to error handler class