added pre build attribute for production