It works now

Stupid lines in execute command were at the wrong indentation level...