Removing excess files and fixing index