move inspect script to folder, and some changes...