Fix typo in sqlite uri and do not use reserved bash variables