flattening directory for trusted build
better structure