fix behaviour of wrapper scripts