Add sudo to command and correct filepath