Improved naming of generated files, fixed temp directory bug.
Removed unnecessary .als file creation.