Changed file extension and the way variables were referenced