Build and run with dependencies