Removed unused var $raw_dir.
Updated / added GPLv2 license