build embedly directive