extract feature script, update tape