Simple fix. Make a time dependency in the script.