Fixed errors with syntax and paths