Well, I could mange replacing the miner, but I still had problems connecting to the pools.Pretty nice script! Most likely I just set the options wrong. Anyhow, thanks a lot for your help!
While I took a course in linux programming somebody managed to write them an email.