Added some basic scripts and functions