Remove account-specific information, move PHP publish to connect callback.