changed all lcoation parameters with function handleLocationParameter(), to allow entering of either iD or location string