Reset measurements when compiling script