added some libraries and fixed location finding