clean script added
check packages at beginning