automatisation of build/ but it's dirty... i have to fix this