scripts for btn count out view