boostrap script, quant specific script, fixes and clean up
security