Auto headlight adjust not working

i had my front bumper and headlights off the car today to change couple bulbs and do bits and pieces and tonight when i was out ive noticed the headlights no longer self adjust when i switch them on. never touched the dipped headlights and all connectors are on correctly. Anyone have any ideas?