Updated __init__ for neighbor script