fixed environment variable thing
added pkg level man file