Change name of $dev variable to upper case.