SQL script cleanup and readme update