add staging directive parser