Add path to index button
Fix syntax errors