Remove styles and modify directive