support for relative paths in scripts