compile: Added flag filters for -g and -O
mosaic: update python startup sequence for files