fixed error in parameter check
changed ordering of workspace blocks and fixed sensors to instrument rename