removed platform folder, fixed absolute paths in hooks