Generate samples before build