have to use exec perl not exec script