Update script to install loggin