The code used in the project to get the scripts for HERE maps from their systems is getting slightly out of hand. It could do with a full refactor.