removing uneccessary directory creation
fix if statements and diff commands
added bash completion