Initial commit, full working key path script