fixed permissions, removed useless scripts