Change /home/ubuntu/locks to a more universal /var/lock