[+] Added Log Writing (If Enabled)