fix gproc broken script processing
recpect to deps_dir, also added Config to context

Conflicts:
	mad
fix optional deps_dir fetching

Conflicts:
	mad
fix common test suite for new API