added more logging and updated for missing dependancy