Reverted the 'sudo' blocks to 'run' blocks.
Run as 'deploy' user, not 'root'.