Forked post-init script from Adam 3.5 with some unimplemented features temporarily disabled.