remove uselss scripts and lint other ones