Create BGF

Copy from my script