Rewrite ntp module