Added backup file and maked some changes in code