updated init to take over bash init and exports