added tek script from andrew
add init