define abspath in scaffold class