Reverted Script 3.1.0.0 to Live Behavior

Also fixed #1103
Merge pull request #1207 from DarkSir23/test

Reverted Script 3.1.0.0 to Live Behavior