put in login in related scripts