improved the smellie run file in the database