Add global directive