take version from script