Edited script headers and added "use warnings".