add profile directive