decorator for deploy