Changed attach flag-file from tmp to working directory.
Added colors