proper variable subs
who needs srcdir
do not need sed anymore