Updated log in script