Change build target to `dist` folder
Code formatting
Change script version logged