use script file stamp to check if the file should be recompiled