build fs in right directory