Update build scripts; support markdown task