Fix&refactor signing + fix build step + uglify