admin script: use decorators