Add chmod command to fix "Permission denied" error