The dunecontrol script should always be executable, so there is (hopefully) no need of calling this function.