relative path support

* simple python style fixing