improve the build

uses snapshots properly now