Updated to allow for formatting of a script