Use -cp rather than -copyFromLocal as template