Add chmod commands for last code block