Fixed errors in code, changed file path to suit master