pass directory with argument