messages was producing an unset var error
added change-owner -perms explicitly to gitclone
fixed check for change-owner-perms  to gitclone