script to analyze the unlock time