Fix to default script selection

compare it to empty string sans white spaces.