Added in code to retrieve the IP and datetime.
Small correction to fix path.
Fixed a permission issue with the script.
Added a sleep before posting the IP to make sure date is correct.