script can use log and thinktime functions