GTFO updates

Also fixed error in prepend flag detection.