Make sure that static directory is used