Reworked the scriptage a bit.