This fixes the misscounting for pending/running jobs
also fixes double counting for pending jobs
there is major improvements and logic changes
I deleted all the files that we are no longer using
We no longer need text files for site status/slots, the script is using SSB
I added a section to handle jobs that fail the logic to get job type
This implements smart pending assignment