check external script on offline and resume