fix for executing shell commands