Fixed several links. Use BASE_PATH instead of HOME_PATH where possible