add time& script name method