added dynamic substitution for apache users