Modified script to lowercases