layer flag edits
prebuild