Moved baseName function, added scriptName function
Allows use of ANSI text colours and effects
Logging and message functions