added option to load location file
added option to load location file