Sendig directory to post script