open dev directly instead of doing copyto