Fixes installer creation and other related bugs