Rename files

I wrote a script that accepts filenames as argument but I am having difficulty if filename has both(uper/lower) cases..so I want to write a script that accepts one or more filenames as arguments and converts filenames to uppercase..(actually rename files..)

echo "your_file_name " |tr [:lower:]  [:upper:]
rename 'y/a-z/A-Z/' *