added script to check for empty username