Fixed token decryption for hook creation, reworked URL constants
Fix Travis