adding scan script