Changes stats tools install directory to 'status' from 'stats' and fixes some script bugs