Extract some variables for easier reuse of build script
Update dist/