replaced the fuse main function with a custom one