Added remote checking

Signed-off-by: Quaisaq <realquaisaq@gmail.com>