add auto login scripts and set env sh