fix glob, remove useless things, add ability to save builds