updated directives and added phimg to inroduction