added ability to specify location paths