Fixed deployment issues (wrong paths, typos in variable names)