adding directives to play pages