Switched from PHP to a much simpler bash script