Put directive in right place