small script checks for password