updated notis main script