call the idf function from shell to avoid the time out