added offset per scripts and script