Added some custom scripting for the system