Update script_commands.txt

Updated 'close' and 'end' documentation.