exploit fixed (used xml instead of php)
added support for time argument