Removed unnecessary temp file, replaced with eval