updating script to prevent letters