Added pause at the end

Added pause so users can see any errors that occur instead of the command prompt window just closing.