link fixes + fixed linux error in createMessage.php