Added checks and added install files