modifying the build action hook