added stuff for window placement (run a bat with the first 2 arguments starting with p, to set the position)