Implement TODO items in script file

Added status notices, added a variable definition to the first if-block to remove nesting from second if-block, and updated documentation