Log successful commands in success.log and errors in errors.log.
is_valid() returns True if command is valid, doesn't write invalid commands to file anymore.
Echo date so we know script is running.
Remove trailing slash from mul_out_path.
mark_done.sh only marks successful commands as done. Reads from processed.txt if available and deletes file when done.
Echo message if action wasn't performed because file isn't present.