added exec, stil needs fixing