AC: Allow running script files relative to cwd, retry on SSH connection error