Updated a few scripts for use in the live environment. Still to be tested though.