remove extra path separator when it is local move
add 'setid' removal function
stage task was required in earlier code, now it is optional.
minor change for local debug