Use open4 for running scripts