Fixing logic to properly deploy the app. Also adding icon