Fixed error in importing and added script for checking categorical attributes