Updated to support different src and dest directories