Fixed permission issues, fixed .* copy issue