Made autopub command.