Update callback.php

Attempt to fix trailing whitespace on Linux, shell_exec command won't work on windows so fixed that also.