script changes ownership to user