prepare for perl args