Now it works (only tested manually so far)