command line stuff added, tospace/fromspace in transform