Work around for permission denied when attempting to execute bash scripts