maybe fixed for double run of script for some