Bugfixes in preflight and postflight scripts. Enabled postflight in Makefile
No longer required