Could we possibly use an execute resource here rather than bash?