added explanatory comment to future command line tool
Implemented functionLocation, did quick test to ensure working