Made the build process more dynamic and parametrized