added support for relative paths
added binary