Better building, based on env var
More updates to build process (use correct file:// url)